<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <link rel="stylesheet" href="css/layui.css" id="layui">
    <link rel="stylesheet" href="css/theme/default.css" id="theme">
    <link rel="stylesheet" href="css/kitadmin.css" id="kitadmin">
    <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css">
    <!--<link rel="stylesheet" href="css/font-awesome.min.css">-->
    <style>
        a{
            text-decoration:none !important;
        }
    </style>
</head>


<body class="layui-layout-body kit-theme-default">
<div class="layui-layout layui-layout-admin">
    <!-- header -->
    <div class="layui-header">
        <div class="layui-logo">
            <div class="layui-logo-toggle" kit-toggle="side" data-toggle="on">
                <i class="layui-icon">&#xe65a;</i>
            </div>
            <div class="layui-logo-brand">
                <a href="javascript:;">英飞拓智慧影视</a>
            </div>
        </div>
        <div class="layui-layout-left">

        </div>
        <div class="layui-layout-right">
            <ul class="kit-nav" lay-filter="header_right">
                <li class="kit-item" kit-target="help">
                    <a href="javascript:;">
                        <!--<i class="layui-icon">&#xe607;</i>-->
                        <span>站点管理</span>
                    </a>
                </li>

                <li class="kit-item">
                    <a href="javascript:;">
              <span class="layui-nav-img" id="stationNameval">

              </span>
                    </a>
                    <ul class="kit-nav-child kit-nav-right">
                        <li class="kit-item">
                            <a href="#/views/updatepwd">
                                <!--<i class="layui-icon">&#xe612;</i>-->
                                <span>修改密码</span>
                            </a>
                        </li>
                        <li class="kit-item" kit-target="setting">
                            <a href="javascript:;">
                                <!--<i class="layui-icon">&#xe614;</i>-->
                                <span>切换账号</span>
                            </a>
                        </li>
                        <li class="kit-nav-line"></li>
                        <li class="kit-item">
                            <a href="temp/login.html">
                                <!--<i class="layui-icon">&#x1006;</i>-->
                                <span>退出</span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <!-- silds -->
    <div class="layui-side" kit-side="true">
        <div class="layui-side-scroll">
            <div id="menu-box">
                <ul class="kit-menu">

                    <li class="kit-menu-item layui-show">
                        <a href="javascript:;">
                            <i class="fa fa-list" aria-hidden="true"></i>
                            <span>站点详情</span>
                        </a>
                        <ul class="kit-menu-child layui-anim layui-anim-upbit">
                            <li class="kit-menu-item">
                                <a href="#/layui/grid"><!--grid-->

                                    <!--<i class="layui-icon"></i>-->
                                    <span>站点详表</span>
                                </a>
                            </li>

                        </ul>
                    </li>

                    <li class="kit-menu-item">
                        <a href="javascript:;">
                            <i class="fa fa-sliders" aria-hidden="true"></i>
                            <span>终端管理</span>
                        </a>
                        <ul class="kit-menu-child layui-anim layui-anim-upbit">
                            <li class="kit-menu-item">
                                <a href="#/exception/403">
                                    <!--<i class="layui-icon">&#xe69c;</i>-->
                                    <span>新增分组</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/exception/404">
                                    <!--<i class="layui-icon">&#xe61c;</i>-->
                                    <span>分组列表</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/layui/layer">
                                    <!--<i class="layui-icon">&#xe61c;</i>-->
                                    <span>主题管理</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/exception/500">
                                    <!--<i class="layui-icon">&#xe64d;</i>-->
                                    <span>终端列表</span>
                                </a>
                            </li>

                        </ul>
                    </li>

                    <li class="kit-menu-item">
                        <a href="javascript:;">
                            <i class="fa fa-map" aria-hidden="true"></i>
                            <!--<i class="layui-icon"></i>-->
                            <span>界面配置</span>
                        </a>
                        <ul class="kit-menu-child layui-anim layui-anim-upbit">
                            <li class="kit-menu-item" style="display: none">
                                <a href="#/layui/temp">
                                    <span class="glyphicon glyphicon-ok"></span>
                                    <!--<i class="layui-icon"></i>-->
                                    <span>已生效欢迎界面</span>
                                </a>
                            </li>
                            <li class="kit-menu-item" style="display: none;">
                                <a href="#/layui/tab">
                                    <span class="glyphicon glyphicon-ok" style="visibility: hidden;"></span>
                                    <span>欢迎页面配置</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/layui/themeGaunLi">
                                    <span class="glyphicon glyphicon-ok" style="visibility: hidden;"></span>
                                    <span>主题选择</span>
                                </a>
                            </li>

                            <li class="kit-menu-item">
                                <a href="#/layui/them">
                                    <span class="layui-icon layui-icon-ok-circle"></span>
                                    <span>已生效欢迎界面</span>
                                </a>
                            </li>

                            <li class="kit-menu-item">
                                <a href="#/layui/them">
                                    <span class="layui-icon layui-icon-ok-circle"></span>
                                    <span>已生效界面</span>
                                </a>
                            </li>


                            <li class="kit-menu-item">
                                <a href="#/layui/them">
                                    <span class="glyphicon glyphicon-ok" style="visibility: hidden;"></span>
                                    <span>欢迎界面配置</span>
                                </a>
                            </li>

                            <li class="kit-menu-item">
                                <a href="#/layui/them">
                                    <span class="glyphicon glyphicon-ok" style="visibility: hidden;"></span>
                                    <span>桌面配置</span>
                                </a>
                            </li>

                        </ul>
                    </li>
                    <li class="kit-menu-item" id="miyue">
                        <a href="javascript:;">
                            <i class="fa fa-key" aria-hidden="true"></i>
                            <!--<i class="layui-icon"></i>-->
                            <span>密钥管理</span>
                        </a>
                        <ul class="kit-menu-child layui-anim layui-anim-upbit">
                            <li class="kit-menu-item">
                                <a href="#/layui/code">
                                    <!--<i class="layui-icon">&#xe69c;</i>-->
                                    <span>密钥列表</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/layui/flow">
                                    <!--<i class="layui-icon">&#xe61c;</i>-->
                                    <span>密钥充值记录</span>
                                </a>
                            </li>

                            <li class="kit-menu-item">
                                <a href="#/layui/button">
                                    <!--<i class="layui-icon">&#xe64d;</i>-->
                                    <span>终端统计</span>
                                </a>
                            </li>

                            <li class="kit-menu-item">
                                <a href="#/layui/empower">
                                    <!--<i class="layui-icon">&#xe64d;</i>-->
                                    <span>终端授权</span>
                                </a>
                            </li>

                        </ul>
                    </li>
                    <li class="kit-menu-item">
                        <a href="javascript:;">
                            <i class="fa fa-cog" aria-hidden="true"></i>
                            <!--<i class="layui-icon"></i>-->
                            <span>系统管理</span>
                        </a>
                        <ul class="kit-menu-child layui-anim layui-anim-upbit">
                            <li class="kit-menu-item">
                                <a href="#/layui/anim">
                                    <!--<i class="layui-icon">&#xe69c;</i>-->
                                    <span>系统升级</span>
                                </a>
                            </li>
                            <li class="kit-menu-item">
                                <a href="#/layui/badge">
                                    <!--<i class="layui-icon">&#xe61c;</i>-->
                                    <span>解绑列表</span>
                                </a>
                            </li>

                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- main -->
    <div class="layui-body" kit-body="true" style="padding: 0.5% 1%;">
        <div style="padding: 1% 1%;background:white;">
            <router-view >

            </router-view>
        </div>

    </div>
    <!-- footer -->
    <div class="layui-footer" kit-footer="true">

        <!--<div style="width:400px; height:400px;" class="load-container load1">-->
        <!--<div class="loader">Loading...</div>-->
        <!--</div>-->
    </div>
</div>
<!--<script src="js/common.js"></script>-->
<script src="js/jquery-2.2.4.js"></script>
<script src="/js/layui/layui.all.js"></script>
<script src="/admin/js/token.js"></script>
<script src="bs/js/bootstrap.js"></script>
<script src="polyfill.min.js"></script>
<script src="layui.js"></script>
<script src="kitadmin.js"></script>
<script src="mockjs-config.js"></script>
<script src="bs/js/echarts.min.js"></script>
<script>layui.use("admin");</script>

</body>

</html>

<script>

    function GetRequest() {
        var url = decodeURI(location.search); //获取url中"?"符后的字串
        var theRequest = new Object();
        if (url.indexOf("?") != -1) {
            var str = url.substr(1);
            strs = str.split("&");
            for(var i = 0; i < strs.length; i ++) {
                theRequest[strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
            }
        }
        return theRequest;
    }
    var json=GetRequest();

    var $=layui.$;
    $.post({
        url:"/admin/station/stationName?stationid="+json.id,
        method:"get",
        success:function (data) {
            $("#stationNameval").text(data.data.stationName);
            // localStorage.setItem("stationBh",data.data.stationBh);
            if (data.data.stationModel=="买断"){
                $("#miyue").css("display","none");
            }
        }
    })
</script>